Conditions | 1 |
Total Lines | 30 |
Code Lines | 28 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { Entity, Column } from 'typeorm'; |
||
43 | |||
44 | public update( |
||
45 | reference: string, |
||
46 | name: string, |
||
47 | address: string, |
||
48 | zipCode: string, |
||
49 | city: string, |
||
50 | status: Status, |
||
51 | type: Type, |
||
52 | email?: string, |
||
53 | phoneNumber?: string, |
||
54 | numberOfStudents?: number, |
||
55 | numberOfClasses?: number, |
||
56 | observation?: string |
||
57 | ): void { |
||
58 | this.baseUpdate( |
||
59 | reference, |
||
60 | name, |
||
61 | address, |
||
62 | zipCode, |
||
63 | city, |
||
64 | status, |
||
65 | type, |
||
66 | email, |
||
67 | phoneNumber, |
||
68 | numberOfStudents, |
||
69 | numberOfClasses |
||
70 | ); |
||
71 | |||
72 | this.observation = observation; |
||
73 | } |
||
75 |